<template>
  <div>
    <span v-if="row.coupon_type == 1">满 {{ row.maxprice }} 元，减 {{ row.price }} 元</span>
    <span v-else>{{ row.discount }}折</span>
  </div>
</template>

<script>
export default {
  name: 'CouponInfo',
  props: {
    row: {
      type: Object,
      default: _ => {
        return {};
      }
    }
  }
};
</script>

<style></style>
